﻿@model VOD.Models.VideoArea

@{
    ViewBag.Title = "添加地区";
}

<h1>添加地区</h1>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

        <div class="editor-label">
            @Html.LabelFor(model => model.AreaName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AreaName)
            @Html.ValidationMessageFor(model => model.AreaName)
        </div>

        <p>
            <input type="submit" value="添加" />
        </p>
}

<div>
    @Html.ActionLink("返回", "Index")
</div>
